AMD PowerNow! in Xen
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 20 Jun 2008 17:02:46 +0000 (18:02 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 20 Jun 2008 17:02:46 +0000 (18:02 +0100)
commitfd9d7bdc9e9ead4282987a28204871b9d265e651
tree28b07b5c071cbcce3f4484cd545260d39dac7127
parent639f3f1a2274add4a4d66e2819e424b19751e1b4
AMD PowerNow! in Xen

This patch set moves support for AMD's PowerNow! technology from
dom0 into the hypervisor, now that there is support for
transferring ACPI data to the hypervisor.  It will only work for
AMD processors that support the architectural P-state driver,
such as 3rd generation Opterons, Phenoms, and Turion Ultras.

This patch creates the Architectural P-state driver inside
of the Xen hypervisor and hooks it into the Xen code.  It
has been tested at AMD with a variety of para- and fully-
virtualized guests for a week without regressions.

Signed-off-by: Mark Langsdorf <mark.langsdorf@amd.com>
Acked-by: Conny Seidel <conny.seidel@amd.com>
xen/arch/x86/acpi/cpufreq/Makefile
xen/arch/x86/acpi/cpufreq/powernow.c [new file with mode: 0644]
xen/arch/x86/platform_hypercall.c
xen/include/acpi/cpufreq/processor_perf.h